@b: 19.2vw;

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
 


.mod_header {
    display: flex;
    justify-content: center;
    align-content: center;
   
    width: 100%;

    // height:(90 /@b);
    height: 90px;

    .w {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        //    width: (1450 /@b); 
        width: 1250px;

        .mod_nav {
            ul {
                display: flex;
                height: 91px;

                // height: (90 /@b);
                li { position: relative;
                    display: flex;
                    align-items: center;
                    justify-content: center;

             
                    // width: (112 /@b);
                    width: 100px;
                    height: 100%;

                    a {
                        // font-size: (18 /@b);
                        font-size: 18px;
                        color: rgb(0, 0, 0);

                        &:hover {
                            color: #31c27c;
                        }
                    }
                      //抢特权
                      &:nth-child(3)::after{
                        position: absolute;
                            content: "抢特权";
                            width: 40px;
                            height: 14px;
                            text-align: center;
                            line-height: 14px;
                            color: rgb(176,131,71);
                            background-color:rgb(238,210,155);
                            font-weight: 700;
                            font-size: 12px;
                            right: -2px;
                            top:20px;
                            transform: scale(0.7);

                      }
                      &:nth-child(3):hover .kehuduan{

                        display: flex;
                      }
                }

              
                //客户端下拉
                .kehuduan{
                    position: absolute;
                    display: flex;
                    justify-content:space-around;
                    align-items: center;
                    flex-direction: column;
                    background-color: #fff;
                    padding: 5px 0;
                    font-size:12px ;
                    box-shadow: 0 0 4px 1px rgba(0,0,0,.3);
                    border-radius: 5px;
                    bottom: -140px;
                    left: 20px;
                    width: 162px;
                    height: 156px;
                    display: none;
                    p{  padding-left: 15px;
                        &::before{
                            position: absolute;
                            content: "HQ";
                            font-size: 12px;
                            transform: scale(0.5);
                            left: 14px;
                            background-color: #31c27c;
                            border-radius: 2px;
                            padding: 2px;
                        
                            height: 20px;
                            line-height: 20px;
                            color: #fff;
                           
                        }
                        &:nth-child(1)::before{
                            top: 10px;
                        }
                        &:nth-child(2)::before{
                            content: "dts";
                            top: 45px;
                        }
                        &:nth-child(3)::before{

                            display: none;
                        }
                       

                    }
                    i{
                        position: absolute;
                        color: #31c27c;
                        top: 83px;
                        left: 17px;
                    }
                    a{
                        text-align: center;
                        line-height: 25px;
                        width: 135px;
                        height: 25px;
                        background-color: #31c27c;
                        border-radius: 15px;
                        font-size: 12px;
                        color: #fff !important;
                        &:hover{
                            background-color: #55c991;
                        }
                    }
                }
            }
        }
//搜索框
        .mod_search {
            position: relative;
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-radius: 3px;
            border: 1px solid rgba(0, 0, 0, 0.3);
            width: 220px;
            // width:(220 /@b);
            height: 35px;

            // height: (35 /@b);
            input {
                height: 100%;
                width: 174px;
                // width: (174/ @b);
                border: none;
                outline: none;
                background-color: rgba(255, 255, 255, 0);
            }

            i {
                font-size: 16px;
                font-weight: 700;
                color: rgba(0, 0, 0, 0.5);
                // font-size: (16/ @b);
            }
            .lisi{
                position: absolute;
                width: 100%;
                height: 75px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                border: 1px solid rgba(0, 0, 0, 0.24);
                bottom:-75px;
                padding: 0 8px;
                color: rgba(8, 8, 8, 0.4);
                background-color: #fff;
                i{
                    font-size: 26px;
                }
                display: none;
            }
        }



//登录,开通vip,充值模块
        .mod_opt {
            display: flex;
            justify-content: center;
            align-items: center;
            // height: (40 /@b);
            height: 40px;
//登录
            .login{
                display: flex;
                justify-content: center;
                align-items: center;
                color: #000;
                width: 40px;
                height: 100%;
                margin-right: 5px;
                // margin-right: (5 /@b);

            

                &:hover {
                    color: #31c27c;
                }

           
            }
      //开通vip下拉   其中包含了充值的样式 
            .opt-xl1 {
                position: relative;
                display: flex;
                justify-content: center;
                flex-direction: column;
                height: 100%;
                margin-right: 5px;
                // width: (130 /@b);
                width: 100px;
               
                 // font-size: (13 /@b);
               
                 a{ 
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    i{                             
                        position: absolute;                    
                        font-size: 6px;
                        right: 5px;
                     }                
                    position: absolute;
                    width: 100%;
                    line-height: 40px;
                    height: 100%;
                    font-size: 13px;
                    text-align: center;        
                    border: 1px solid rgba(0, 0, 0, 0.2);
                    border-top: none;
                    &:nth-child(1){
                    
                        border-radius: 2px;
                        color: #fff;
                        background-color: #31c27c;
                        border:none;
                    }
                   
                    &:nth-child(2){
                       color: #000;
                        bottom:-40px;
                        display: none;
                    }
                    &:nth-child(3){
                        color: #000;
                        bottom:-80px;
                        display: none;
                    }
                    background-color: #fff;
                    &:hover{
                        color: #fff;
                        background-color: #31c27c;
                        border: none;
                      
                    }
                }
           
                    &:hover{
                      
                       a{
                        &:nth-child(1){
                           
                            i{
                                
                              
                                transform: rotate(180deg);
                             }
                          
                        }
                       
                        &:nth-child(2){
                           
                             display: block;
                           
                         }
                         &:nth-child(3){
                           
                             display: block;
                         }
                       } 
                    }
            }

      
            //与开通不一样的充值的样式
            .opt-i2{
               
                background-color: #fff !important;
                color: #000 !important;
                border: 2px solid rgba(0, 0, 0, 0.1) !important;
            }
            
        }


         

   // 二级导航栏
 


        }


     
    }
   .active{
    background-color: #31c27c;

    a {
        color: rgb(255, 255, 255) !important;
    }
   }


   .two-nav {
    width: 1250px;
    background-color: #fff;
    margin: 0 auto;
    .nav-list {
        width: 100%;
        height: 51px;
        line-height: 51px;
        // border-top: 1px solid #f2f2f2;
        padding-left: 230px;
        margin-right: -50px;
        li {
            float: left;
            font-size: 15px;
            margin-right: 40px;
            a{
                color: #000;
                display: block;
                
                &:hover{
                    color: #31c27c;
                }
            }
        }
    }
}